<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" id="css" href="/styles/front/css/members.css">
	<script type="text/javascript" src="/styles/front/js/jquery-1.8.2.min.js">
	
	</script>
</head>
<body style="margin: 0px;"  >


<table width="100%" border="0" cellpadding="0" cellspacing="0" align=center>
<tr>
<td style="padding:0 4px">
		<SCRIPT LANGUAGE="JavaScript">
	  <!--
		function checkempty(form, prefix, checkall) {
			var checkall = checkall ? checkall : 'chkall';
			for(var i = 0; i < form.elements.length; i++) {
				var e = form.elements[i];
				if(e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
					if(e.checked ){return true;break; }
				}
			}
			return false;
		}	
	  //-->
	</SCRIPT> 	
	
	
	
	
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="soon_b" >
	<form method="post" name=datamembers action="kuaidaxianzhu">
	<input type="hidden" name="formhash" value="1081460b">
	<input type="hidden" name="ordertuima_del" >
	<tr class="header_left_b">
	<td colspan="6" width="88%" align="center" style="border-right: 0px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下注框</td>
	<td width="12%" align="center" >
		<input class="button" style="padding: 0 2px;height: 22px !important;" type="button" name="ordertuima_del_button" onclick="tuiMa();" value="退码">
		</td>
	</tr>
	<tr>
	<td colspan="7" style="height:280px">
	<div id="showorderhtml">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="soon_b_no" >
	<tr class="soon_head">
	<td width="12%">彩种</td><td width="22%">注单编号</td>
	<td width="16%">号码</td><td width="15%">赔率</td>
	<td width="15%">金额</td><td width="10%">状态</td>
		<td width="10%" >全选<input type="checkbox" name="chkall" onclick="checkall(this.form, 'tuimas')" class="checkbox"></td> 
		</tr>	
		
	<c:forEach var="item" items="${zhudans}" >		
		<c:choose>
			<c:when test="${item.sftm_j eq 1}">
			<tr class="soon_tuima">
			<td >七星彩</td>
			<td>${item.ddh_j}</td>
			<td class="soon_b_B soon_b_f2" name="daichuliHaoma">${item.hm_j}</td>
			<td class="soon_b_B">${item.pl_j}</td>
			<td class="soon_b_B soon_b_f1">${item.je_j}</td>
			<td>${item.sftm_j}</td>
			<td>已退码</td>	
			</tr>
			</c:when>
			<c:otherwise>
				<tr >
				<td >七星彩</td>
				<td>${item.ddh_j}</td>
				<td class="soon_b_B soon_b_f2" name="daichuliHaoma">${item.hm_j}</td>
				<td class="soon_b_B">${item.pl_j}</td>
				<td class="soon_b_B soon_b_f1">${item.je_j}</td>
				<td>${item.sftm_j}</td>
				<td><input type="checkbox" name="tuimas" value="${item.id}" class="tuimas"/></td>	
				</tr>
			</c:otherwise>
		</c:choose>
		
	</c:forEach>
	
	
		</form>
	</table>
	<div>
	
	</td></tr>
	</table>
	<table border="0" cellpadding="0" cellspacing="0"><tr><td height=6></td><tr></table>
	<script src="/styles/front/js/common.js" type="text/javascript"></script>
	
	<form method="post" name=datamembers action="kuaidaxianzhu">
	
	<table width="100%" border="0" cellpadding="0" cellspacing="0"  >
	<input type="hidden" name="my_credits_remaining" id="my_credits_remaining" value="${user.ye_j}">
	<input type="hidden" name="my_rcedits" id="my_rcedits" value="${user.f4}">
	<input type="hidden" name="my_rcedits_use" id="my_rcedits_use" value="${user.f4 - user.ye_j}">
	<tr >
	<td width="100%">	
		<table width="100%" border="0" height=80 cellpadding="0" cellspacing="0" class="left_b" >
		<tr class="header_left_b">
		<td colspan="7" >四字现<INPUT TYPE="checkbox" " ID="sizixian" NAME="sizixian" onclick="if($('sizixian').checked){$('showsizixian').style.display='';}else{$('showsizixian').style.display='none';}$('number').select();">
		转24组<INPUT TYPE="checkbox" " ID="zhuan24" NAME="zhuan24" onclick="$('number').select();">
		</td>
		<tr>
		<tr >
			<td width="45" class="number_web">号码</td>
			<td width="90" ><INPUT TYPE="text" onpaste="return false" NAME="number" ID="number" class="number"  onkeyup="if(this.value.Trim().length>=4){$('money').select();if($('sizixian').checked)$('showsizixian').style.display='';getrate(this.value); }" onkeydown="KeyDownNumber(this.value);" onkeypress="return KeyPressNumber(this.value);"  maxlength=4></td>
			<td width="15" class="number_web" ><span id="showsizixian" style="display:none;color: red;"><B>现</B></span></td>
			<td width="45" class="number_web">金额</td>
			<td width="90" ><INPUT TYPE="text" NAME="money" ID="money" class="number"  onkeydown="DigitInput(this,event);KeyDown();"  maxlength=8  ></td>
			<td width="90"><button TYPE="submit" id="soonsendsubmit" name="soonsendsubmit" class="number_w" onclick="wait_soonsend();"><span id="soonsendstr">确认下注</span></button></td>
						<td width="*" style="font-size:16px;font-weight: bold;"><div id="showamt"></div>
			<span id="countnum" style="display:none"></span><span id="countmoney" style="display:none"></span></td>
					<tr>
		</table> 
	</td>
		<tr>
	</table>
	</form>
	<form method="post" name=datamembers2 action="tuima">
	</form>
	
	
	<SCRIPT LANGUAGE="JavaScript">
	<!--
	    var _sendmode = 0;
	    var _isfpfrankhotzhuan = 1;
		var _cachehot = null;
		var _cacheuser = {'1':{'f':'98','s':0,'s0':0.18,'o':''},'102':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'101':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'100':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'98':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'99':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'97':{'f':'89.5','s':0,'s0':0.095,'o':'2000'},'4':{'f':'960','s':0,'s0':0.21,'o':''},'106':{'f':'875','s':0,'s0':0.125,'o':'100'},'105':{'f':'875','s':0,'s0':0.125,'o':'100'},'104':{'f':'875','s':0,'s0':0.125,'o':'100'},'103':{'f':'875','s':0,'s0':0.125,'o':'100'},'5':{'f':'8650','s':0,'s0':0.165,'o':'50'},'6':{'f':'8/15','s':0,'s0':0.135,'o':'1000'},'7':{'f':'40/73/114','s':0,'s0':0.07,'o':'500'},'107':{'f':'320/640/1280/320','s':0,'s0':0.15,'o':'100'}};
		var _cacheclass = {'1':{'id':'1','parentid':'0','classname':'二定位','leveid':'0','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'0'},'4':{'id':'4','parentid':'0','classname':'三定位','leveid':'0','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'0'},'5':{'id':'5','parentid':'0','classname':'四定位','leveid':'0','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'2000'},'6':{'id':'6','parentid':'0','classname':'二字现','leveid':'0','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'2/2'},'7':{'id':'7','parentid':'0','classname':'三字现','leveid':'0','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20/20/20'},'102':{'id':'102','parentid':'1','classname':'口口XX','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'101':{'id':'101','parentid':'1','classname':'口X口X','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'100':{'id':'100','parentid':'1','classname':'口XX口','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'98':{'id':'98','parentid':'1','classname':'X口X口','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'99':{'id':'99','parentid':'1','classname':'X口口X','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'106':{'id':'106','parentid':'4','classname':'口口口X','leveid':'1','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'200'},'105':{'id':'105','parentid':'4','classname':'口口X口','leveid':'1','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'200'},'104':{'id':'104','parentid':'4','classname':'口X口口','leveid':'1','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'200'},'103':{'id':'103','parentid':'4','classname':'X口口口','leveid':'1','money_least':'0.1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'200'},'97':{'id':'97','parentid':'1','classname':'XX口口','leveid':'1','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'20'},'107':{'id':'107','parentid':'0','classname':'四字现','leveid':'0','money_least':'1','franklimithig':'0','franklimithigshow':'0','xfrank_limit':'200/200/200/200'}};
		var _ziyou = "5118_12121";
		var _waitnumber = 0;
	//-->
	</SCRIPT>
	<script src="/styles/front/js/frank.js" type="text/javascript"></script> 

	<SCRIPT LANGUAGE="JavaScript">
	<!--

		getAward();
		//alert(credits_use_js)
		//savemoney(0);
		//getAward_Rcedits_use();
		var issoon=0;
		function wait_soonsend() {
			var my_credits_use_js = getcookie('credits_use_js');
			var money_award = $('money').value.Trim();
			credits_remaining = $('my_credits_remaining').value;
			var get_money_award24=0,get_zhuan24="";
			//检查金额 及 24组的
			if($('zhuan24').checked&&check24()!=false){
				var get_zhuan24 = check24(); 
				var get_zhuan24_arr = get_zhuan24.split("|");
				var get_zhuan24_len = get_zhuan24_arr.length;
				get_money_award24=get_zhuan24_len*money_award;
				
			}
			var credits_use = (money_award-0)+(my_credits_use_js-0);
			if(credits_remaining <=0 || (credits_remaining - credits_use)<0 ){
				alert('信用额度不足！！');
				return false;
			}

			numbersplit($('number').value.Trim());//排序三字和二字现
			//检查号码正确性
			var number_award = $('number').value.Trim();
			var numberstat = numbersplit(number_award);
			var x_numbersym_tatol = frank.__numbersym_tatol;
			if(0==1&&x_numbersym_tatol>0){
				var zhuan_x_array = zhuan_x();
				get_zhuan_x = zhuan_x_array[0];
				var get_zhuan_x_arr = get_zhuan_x.split("|");
				get_money_award = zhuan_x_array[1]+"";
				get_number_award = zhuan_x_array[2];
			}
			if(numberstat==1){
				alert('请输入正确号码，如果无号码位置请用X代替！');$('number').select();
				return false;
			}else if(numberstat==2){
				alert('请输入正确金额！');$('money').select();
				return false;
			}else if(numberstat==3){
				alert('号码出错，没有定位号码！');
				$('number').select();
				return false;
			}
			
			
			//请输入合法数值
			get_number_award = get_number_award != "" ? get_number_award : number_award;
			get_money_award  = get_money_award != "" && get_money_award >0 ? get_money_award : money_award;
			if (get_number_award==''||get_number_award == undefined)
			{
				alert('请输入号码！');$('number').select();return false;
			}else if (isNaN(get_money_award) || get_money_award<=0 || get_money_award==''||get_money_award == undefined )
			{
				alert('请输入金额！');$('money').select();return false;
			}else if((credits_remaining-0)<(get_money_award-0)||(credits_remaining-0)<(get_money_award24-0))
			{
				alert('信用额度不足！');return false;
			}
			//检查金额
			if(frank.__CheckMoney(get_money_award,get_number_award)==false)return;
			if(frank.__CheckMoneyLeast(get_money_award)==false)return;
			
			if(_sendmode==0)
			if($('zhuan24').checked){
				//savemoney(get_money_award24);//保存金额
				savemoney(get_money_award);//保存金额
			}else{
				savemoney(get_money_award);//保存金额
			}
			
			var my_frank = frank.__getfrank(get_number_award);
			my_frank = _isfpfrankhotzhuan==1 ? '':my_frank;
			var get_sizixian = $('number').value.Trim().length>=4&&$('sizixian').checked?1:0;
            
			if(_sendmode==0){
            	if($('zhuan24').checked){
					for(var zi=0;zi<get_zhuan24_len;zi++){
						var z_arr = get_zhuan24_arr[zi].split(",");
						z_n=z_arr[0];
						z_m=z_arr[1];
						z_x=z_arr[2];
						saveAward(z_n,z_m,my_frank,z_x);//保存号码
					}
            	}else if(0==1&&x_numbersym_tatol>0){
					for(var zi=0;zi<get_zhuan_x_arr.length;zi++){
						var z_arr = get_zhuan_x_arr[zi].split(",");
						z_n=z_arr[0];
						z_m=z_arr[1];
						z_x=z_arr[2];
						saveAward(z_n,z_m,my_frank,z_x);//保存号码
					}
            	}else{
            		saveAward(get_number_award,get_money_award,my_frank,get_sizixian);//保存号码
            	}
            }
            	else{
            		
            	}
            var number_money=get_number_award+","+get_money_award+","+get_sizixian;
            if(get_zhuan24!='')number_money=get_zhuan24;
            if(0==1&&x_numbersym_tatol>0)number_money=get_zhuan_x;
            post_soonsend(number_money);//提交号码
			//---begin change
            //if(_sendmode==0)my_Award_Parent();//刷新
			
			//if(_isfpfrankhotzhuan==1)$('showamt').innerHTML="";
			//$('number').value="";
			//$('number').select();
			//soundplay('Player');
			issoon=0;
			return true;
		}
		setTimeout("$('number').focus();",200);
		
		
		
		function post_NumberMoneyMsg2(str){
		  numbersplit($('number').value.Trim());
		  var x_numbersym_tatol = frank.__numbersym_tatol;
		  if(0==1&&x_numbersym_tatol>0){$('showamt').innerHTML='';return ;}
		  var arr = str;
		  if (arr != null && arr != ""){    
		    var s = arr.split("|");
		    var msg='';
		    if(s[0]==1){
				//msg= "参考赔率:<font color=#0000FF>"+s[2]+"</font>";
				//&nbsp;&nbsp;可下金额:<font color=red>"+s[1]+"</font>
				msg= "<b>赔率</b>:<font color=#0000FF>"+s[2]+"</font>&nbsp;&nbsp;<b>可下</b>:<font color=red>"+s[1]+"</font>";
		    }else if(s[1]==4){
		    	msg='错误：信用额度不足！';
		    }else{
		    	msg='错误：'+err(s[1]);
		    }
		    $('showamt').innerHTML=msg
		  }
		}
		
		
		
		function KeyDownNumber(number) 
		{ 
			if (event.keyCode == 13) 
			{ 
				if($('number').value=='')return;
				event.returnValue=false; 
				event.cancel = true; 
				numbersplit(number)
				if(_isfpfrankhotzhuan==1&&issoon==0){
					issoon=1;
					getrate(number);
				}
				
				if($('number').value.Trim().length>=4&&$('sizixian').checked){
					$('showsizixian').style.display='';
				}
				$('money').select();
				
				return false; 
			} 
		} 
		function getrate(number){
		  ajax_f("haomaxianzhi?action=chacknumbermoney"+"&post_number="+encodeURIComponent(number)+"&sizixian="+($('number').value.Trim().length>=4&&$('sizixian').checked?1:0)+"&inajax=1&time="+(new Date().getTime()),"",post_NumberMoneyMsg2);
		}


		function savemoney(money){
			var my_savemoney = getcookie('my_savemoney');
			if(money>0){
				if(my_savemoney!=money){
					setcookie('my_savemoney', money);
				}
				$('money').value=money;
			}else{
			
				$('money').value=my_savemoney;
			}
		}
		function s_count(){
				$("countnum").innerHTML=0;
				$("countmoney").innerHTML=0;
		}
		var CountMoney = {
			_count: function (money){
				var my_money = getcookie('my_countmoney');
				if(my_money!=money){
					setcookie('my_countmoney', my_countmoney);
				}				
			},
			/*_start:function (){
				var my_countstart = getcookie('my_countstart');
				if(my_countstart>0){
					setcookie('my_countstart', 0);
				}else{
					setcookie('my_countstart', 1);
				}
				this._startshow();
			},*/
			_zz:function (){
				//setcookie('my_countmoney', 0);
				//setcookie('my_countnum', 0);
				XMLHttp.sendReq("POST","ajax.php?action=countdel","sid=VTG5s4&inajax=1",s_count,"");
				//this._startshow();
			},
			_startshow:function (){
				/*var my_countstart = getcookie('my_countstart');
				if(my_countstart>0){
					$("countmoney_start").value="暂停";
				}else{
					$("countmoney_start").value="开始";
				}*/
				this._show();
			},
			_show:function (){
				/*var my_countnum = getcookie('my_countnum');
				var my_countmoney = getcookie('my_countmoney');
				$("countnum").innerHTML=my_countnum ? my_countnum : 0;
				$("countmoney").innerHTML=my_countmoney ? my_countmoney : 0;*/
				$("countnum").innerHTML=0;
				$("countmoney").innerHTML=0;
				setcookie('my_countstart', 1);
			}
		}
		//CountMoney._startshow();

		function KeyDown() 
		{ 
			
			if (event.keyCode == 13) 
			{ 
			event.returnValue=false; 
			event.cancel = true; 
			wait_soonsend();return false; 
			} 
		} 
		function DigitInput(el,ev) {
			var event = ev || window.event; 
			var currentKey = event.charCode||event.keyCode; 
			
			if (currentKey == 110 || currentKey == 190) {
				if (el.value.indexOf(".")>=0) 
					if (window.event)
						event.returnValue=false; 
					else 
						event.preventDefault();

			} else 
				if (currentKey!=8 && currentKey != 46 && (currentKey<37 || currentKey>40) && (currentKey<48 || currentKey>57) && (currentKey<96 || currentKey>105))
					if (window.event)
						event.returnValue=false;
					else 
						event.preventDefault();
			

		}
		function showplayr(id,url){
			document.write('<OBJECT id="'+id+'"'); 
			if(is_ie)
			{               
				document.write(' classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"');       
			}
			else if(is_moz)
			{      
				document.write(' type="application/x-ms-wmp"');        
			}  
			document.write(' width=0 height=0>');
			document.write('<PARAM name="autoStart" value="false"/>');
			document.write('<PARAM name="url" value="'+url+'"/>');
			document.write('</OBJECT>'); 
		}
		
		//showplayr('Player','msg2.wav');
		function soundplay(ids,urls)
		{
			eval(ids+".settings.invokeURLs = false;"+ids+".controls.play();");
		}
		function zhuan_x(){
		  str = $('number').value.Trim();
		  str = str.toUpperCase();
		  strm = $('money').value.Trim();
		  var get_sizixian = $('number').value.Trim().length>=4&&$('sizixian').checked?1:0;
		  if(get_sizixian==1)return false;
		  ckstr = "";
		  if (str.length == 4 ){
		    n1 = str.substr(0,1);
		    n2 = str.substr(1,1);
		    n3 = str.substr(2,1);
		    n4 = str.substr(3,1);
		    //alert(n1+n2+n3+n4); 
		    if ((isNaN(n1) && n1!="*" && n1!="x" && n1!="X") || n1 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n2) && n2!="*" && n2!="x" && n2!="X") || n2 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n3) && n3!="*" && n3!="x" && n3!="X") || n3 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n4) && n4!="*" && n4!="x" && n4!="X") || n4 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else{
		    	var numt = 0;var numa=new Array();
		    	var j=0;
		    	for(i=0;i<str.length;i++){
		    		var n = str.substr(i,1);
		    		if(n=="x" || n=="X"){
		    			numt=numt+1;
		    			numa[j]=i;
		    			j=j+1;
		    		}
		    	}
		    	var get_number='';
		    	if(numt==1){
		    		var comm=number_money='';
		    		if(strm>0)get_money_award =  strm/10;
		    		for(i=0;i<10;i++){
		    			var nn1= n1=="X" ? i+"" : n1;
		    			var nn2= n2=="X" ? i+"" : n2;
		    			var nn3= n3=="X" ? i+"" : n3;
		    			var nn4= n4=="X" ? i+"" : n4;
		    			nostr = nn1+""+nn2+""+nn3+""+nn4;
		    			if(i==0)get_number = nostr;
		    			number_money+=comm+nostr+","+get_money_award+","+get_sizixian;
		    			comm="|";	
		    		}
		    	}else if(numt==2){
		    		var comm=number_money='';
		    		if(strm>0)get_money_award =  strm/100;
				    for(i=0;i<10;i++){
				    	 for(j=0;j<10;j++){
				    	 	nn1=n1;nn2=n2;nn3=n3;nn4=n4;
				    	 	for(a=0;a<str.length;a++){
				    	 		if(numa[0]==a)eval("nn"+(a+1)+"="+i+"");
				    	 		if(numa[1]==a)eval("nn"+(a+1)+"="+j+"");
				    	 	}
				    	 	nostr = nn1+""+nn2+""+nn3+""+nn4;
				    	 	if(i==0)get_number = nostr;
				    	 	number_money+=comm+nostr+","+get_money_award+","+get_sizixian;
				    	 	comm="|";
				    	 }
				    }	
		    	}
		    	//alert(numa[0]+"="+numa[1]+"="+number_money)
				return new Array(number_money,get_money_award,get_number);
		    }
		  }
		}
		var noCount=0;
		function check24(){
		  str = $('number').value.Trim();
		  strm = $('money').value.Trim();
		  var get_sizixian = $('number').value.Trim().length>=4&&$('sizixian').checked?1:0;
		  if(get_sizixian==1)return false;
		  ckstr = "";
		  if (str.length == 4 ){
		    n1 = str.substr(0,1);
		    n2 = str.substr(1,1);
		    n3 = str.substr(2,1);
		    n4 = str.substr(3,1);
		    //alert(n1+n2+n3+n4); 
		    if ((isNaN(n1) && n1!="*" && n1!="x" && n1!="X") || n1 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n2) && n2!="*" && n2!="x" && n2!="X") || n2 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n3) && n3!="*" && n3!="x" && n3!="X") || n3 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else if ((isNaN(n4) && n4!="*" && n4!="x" && n4!="X") || n4 == " "){
		        alert("号码输入错误!");
				$('number').select();return false;
		    }else{
		    	//noCount=1;
		        //m = 1;
		        var number_money="",comm="";
		        m = noCount;
			     for(i=1;i<=4;i++){
				  for(j=1;j<=4;j++){
				    for (k=1;k<=4;k++){
				      for (l=1;l<=4;l++){
				        if (i==j||i==k||i==l)continue;
						if (j==k||j==l)continue;
						if (k==l)continue;
				        nostr = eval("n"+i)+""+eval("n"+j)+""+eval("n"+k)+""+eval("n"+l);
						if(ckstr.indexOf(nostr)>=0) continue;
						ckstr += nostr + ",";
						number_money+=comm+nostr+","+strm+","+get_sizixian;
			        	//eval("form1.no_"+m).value = nostr;
						//eval("form1.amt_"+m).value = form1.money.value;
						//eval("form1.szx_"+m).value = ($('number').value.Trim().length>=4&&$('sizixian').checked?1:0);
						m ++;noCount ++;	
						comm="|";	
				      }
				    }
				  }
				}
				//alert(number_money)
				return number_money;
		    }
		  }
		  $('number').select();return false;
		}
	//-->
	</SCRIPT>	
	<script src="/styles/front/js/ajax.js" type="text/javascript"></script>
	<SCRIPT LANGUAGE="JavaScript">
	<!--
	function post_soonsend(number_money){
		var get_number_money='';
		if(_sendmode==0){
			var Award = getAward_array();
			if(Award==false||Award['number_money']=="") return false;
			get_number_money=Award['number_money'];
		}else{
			get_number_money=number_money;
		}
		

		var my_countstart = 1;
		setcookie("my_print", ""); 
		//12,1,0(是否是四字现),是否是24组
		//XMLHttp.sendReq("POST","xiazhu","post_number="+encodeURIComponent(get_number_money),post_soonMsg,"showorderhtml");		
		//+"&countstart="+my_countstart+&sid=VTG5s4&inajax=1" //原来的参数
		$('showsizixian').style.display="none";
	}
	//-->
	</SCRIPT>
	

</td>
<tr>
</table>
<script type="text/javascript">
window.parent.parent.frames['menu'].document.getElementById('my_rcedits_leavings').innerHTML=document.getElementById('my_credits_remaining').value;
window.parent.parent.frames['menu'].document.getElementById('my_rcedits').innerHTML=document.getElementById('my_rcedits').value;
window.parent.parent.frames['menu'].document.getElementById('my_rcedits_use').innerHTML=document.getElementById('my_rcedits_use').value;

var haomas = document.getElementsByName("daichuliHaoma");
for(var i =0 ; i < haomas.length; i++){
	if(haomas[i].innerHTML.length == 5){
		haomas[i].innerHTML = haomas[i].innerHTML.replace(/x/i,"<span style='color:red;'>现</span>");
	}
	
	
	
}
</script>
<script type="text/javascript">
			
		function tuiMa(){
			var tuimaIds = new Array();
			jQuery(".tuimas").each(function(){
				
				if(jQuery(this).attr("checked") == "checked"){
					tuimaIds.push(jQuery(this).val());
				}
			});
			alert(tuimaIds.length);
			if(tuimaIds.length > 0){
				jQuery.ajax({
					type:"get",
					cache:false,
					url:"tuimaAjax",
					data:({"haomas":tuimaIds}),
					success:function(json){
						if(json == "ok"){
							window.location.reload();
						}
					}
					
				});
			}
			
		}
	
	
	
	
	</script>
</body>
<noscript><iframe src=*.html></iframe></noscript>

</html>